package com.locAutoWeb.util;

import java.sql.Connection;
import java.sql.DriverManager;

public class Conexao {
	
	public static Connection getConexao() throws Exception{
		Connection conn = null;
		
		DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
        conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","locautoweb","web");
        
        return conn;
		
	}

}
